package org.restrpc.strap;

import java.io.Serializable;

public class FileTransAssist implements Serializable {
    private static final long serialVersionUID = 5989656920203532886L;
    public boolean isOver() {
		return over;
	}
	public void setOver(boolean over) {
		this.over = over;
	}
//	public boolean isIsfullPath() {
//		return isfullPath;
//	}
//	public void setIsfullPath(boolean isfullPath) {
//		this.isfullPath = isfullPath;
//	}
//	public boolean isFlushbuffer() {
//		return flushbuffer;
//	}
//	public void setFlushbuffer(boolean flushbuffer) {
//		this.flushbuffer = flushbuffer;
//	}
	public int getOffset() {
		return offset;
	}
	public void setOffset(int offset) {
		this.offset = offset;
	}
	public long getCursize() {
		return cursize;
	}
	public void setCursize(long cursize) {
		this.cursize = cursize;
	}
	public long getTotlesize() {
		return totlesize;
	}
	public void setTotlesize(long totlesize) {
		this.totlesize = totlesize;
	}
	public int getCRC32() {
		return CRC32;
	}
	public void setCRC32(int cRC32) {
		CRC32 = cRC32;
	}
	private boolean over = false;          /* 文件是否传输完成 */
//    private boolean isfullPath = false;    /* 文件路径是否在执行路径下 */
//    private boolean flushbuffer = false;   /* 刷新文件缓存区 */
    private int offset = 0;        /* 文件偏移 */
    private long cursize = 0;       /* 文件本次传输大小 */
    private long totlesize = 0;     /* 文件总大小 */
    private int CRC32 = 0;         /* 文件传输完成时使用CRC32校验文件 */
}
